package enumerated;
/**
 * 
 * @author Administrator
 *
 */
public enum OzWitch {
	
	//必须先定义enum实例
	WEST("Miss Gulch,"),
	NORTH("Glida,"),
	EAST("Wicked"),
	SOUTH("Good");
	
	private String description;
	private OzWitch(String description){
		this.description = description;
	}
	
	public String getDescription(){
		return description;
	}
	
	public static void main(String[] args){
		for(OzWitch witch :OzWitch.values()){
			System.out.println(witch+": "+witch.getDescription());
		}
	}
}
